<%@ page contentType="text/html;charset=UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:xn="http://www.xiaonei.com/2009/xnml"> 
<head> 
<meta name="Description" content="" /> 
<meta name="Keywords" content="开心网,同事,白领,博客,相册,社区,交友,聊天,音乐,视频" /> 
<link href="favicon.ico" rel="shortcut icon" type="image/x-icon" /> 
<link rel="stylesheet" href="<%=basePath%>css/connect.css" type="text/css" media="all" /> 
<title>游向彼岸</title>	
</head> 
<body id="splash" class="splash"> 
<div id="header"> 
	<img id="logo" class="logo" src="<%=basePath%>img/logo.png" alt="游向彼岸" title="回到首页" width="100" height="28" /> 
	<div class="guide"><span class="guide">你好，<em class="user-name">游客</em></span> | <a class="register" href="#">注册</a></div> 
</div> 
<div id="main"> 
	<div id="content" class="clearfix" style="width:600px;margin:0 auto;"> 
		<div class="panel"> 
			<form class="section" path="register.do" method="post">
				<h2>帐号设置</h2> 
				<c:if test="${msg!=''}">
					<div class="error">
						<img src="<%=basePath%>img/16_error.png" />
						${requestScope.msg}
					</div>
				</c:if>
				<p><label>姓名:</label><input type="input" class="width200" name="username" /></p> 
				<p><label>邮箱:</label><input type="input" class="width200" name="email" /></p> 
				<p><label>密码:</label><input type="password" class="width200" name="password" /></p> 
				<p><label>&nbsp;</label><input style="margin:0;" type="image" src="<%=basePath%>img/btn-modify.png" /></p>
				<input type="hidden" name="op" value="new" /> 
			</form> 
			<div class="connect-login"> 
				<h2>链接校内帐号</h2> 
				<p class="width200">你已经拥有啥帐号了麽？可以登录哦。不管了，自己写文字吧。你已经拥有啥帐号了麽？可以登录哦。不管了，自己写文字吧。</p> 
				<p><xn:login-button autologoutlink="true" onlogin="window.location='home.do'"></xn:login-button></p> 
				<script type="text/javascript" src="http://static.connect.xiaonei.com/js/v1.0/FeatureLoader.jsp"></script>
				<script type="text/javascript">
				  XN_RequireFeatures(["EXNML"], function()
				  {
				    XN.Main.init("${apiKey}", "xd_receiver.html",{'ifUserConnected':'<%=basePath%>home.do'});
				  });
				</script>
			</div> 
		</div> 
	</div> 
</div> 
<div id="footer" class="clearfix"> 
	<p class="slogan">让我们一起游向彼岸</p> 
</div> 
</body> 
</html> 
